package org.example.wu_and_dian.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.*;

/**
 * 
 * @TableName document
 */
@TableName(value ="document")
@Data
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class Document implements Serializable {
    /**
     * 
     */
    @TableId(value = "_id")
    private String id;

    /**
     * 
     */
    @com.fasterxml.jackson.annotation.JsonProperty("projectId")
    private String projectId;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String description;

    /**
     * 
     */
    @com.fasterxml.jackson.annotation.JsonProperty("createdAt")
    @TableField("createdAt")
    private Date createdAt;

    @com.fasterxml.jackson.annotation.JsonProperty("updatedAt")
    @TableField("updatedAt")
    private Date updatedAt;

    private String content;
    private String author;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}